﻿namespace DtoModels
{
    public class DistrictResDto
    {
        /// <summary>
        /// 省份
        /// </summary>
        public ResultRegion Province { get; set; }

        /// <summary>
        /// 城市
        /// </summary>
        public ResultRegion City { get; set; }

        /// <summary>
        /// 区县
        /// </summary>
        public ResultRegion Area { get; set; }

        /// <summary>
        /// 详细地址
        /// </summary>
        public string Address { get; set; }

        /// <summary>
        /// 坐标
        /// </summary>
        public string Lnglats { get; set; }
    }

    /// <summary>
    /// 返回区域基础类
    /// </summary>
    public class ResultRegion
    {
        /// <summary>
        /// 主键ID
        /// </summary>
        public string Id { get; set; }

        /// <summary>
        /// 行政编码
        /// </summary>
        public string AdCode { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }
    }
}